package com.base.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.mapper.voipmapper.WeeksAdvMapper;
import com.base.po.voip.WeeksAdv;
import com.base.service.WeeksAdvService;

@Service("weeksAdvService")
public class WeeksAdvServiceImpl implements WeeksAdvService {
	
	@Autowired
	private WeeksAdvMapper weeksAdvMapper;

	@Override
	public int deleteByPrimaryKey(String id) {
		return weeksAdvMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(WeeksAdv record) {
		return weeksAdvMapper.insert(record);
	}

	@Override
	public int insertSelective(WeeksAdv record) {
		return weeksAdvMapper.insertSelective(record);
	}

	@Override
	public WeeksAdv selectByPrimaryKey(String id) {
		return weeksAdvMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<WeeksAdv> selectByAll(WeeksAdv record) {
		return weeksAdvMapper.selectByAll(record);
	}

	@Override
	public int updateByPrimaryKeySelective(WeeksAdv record) {
		return weeksAdvMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(WeeksAdv record) {
		return weeksAdvMapper.updateByPrimaryKey(record);
	}
}
